import { HttpRequest } from '@/shared/http/commonAxios'

export class NoticeApi {
	static addNotice(data) {
		return HttpRequest.post('/notice/add', data)
	}

	static getTable(data) {
		return HttpRequest.get('/notice/query', data)
	}

	static delete(data) {
		return HttpRequest.post('/notice/delete', data)
	}
	static publish(data) {
		return HttpRequest.post('/notice/publish', data)
	}
	static update(data) {
		return HttpRequest.post('/notice/update', data)
	}
}
